//
//  LKCustomerModel.h
//  YLHelper
//
//  Created by she1323 on 2018/5/30.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKBaseModel.h"





@interface LKAppointmentModel:LKBaseModel

@property(nonatomic,copy)NSString *branchName;

@property(nonatomic,copy)NSString *branchCode;

@property(nonatomic,copy)NSString *manager;
@property(nonatomic,copy)NSString *director;
@property(nonatomic,copy)NSString *generalManager;
@property(nonatomic,copy)NSString *departmentId;
@property(nonatomic,copy)NSString *departmentCode;
@property(nonatomic,copy)NSString *departmentName;
@property(nonatomic,copy)NSString *customerGuid;
@property(nonatomic,copy)NSString *identityId;
@property(nonatomic,copy)NSString *customerName;
@property(nonatomic,copy)NSString *customerGender;
@property(nonatomic,copy)NSString *customerTel;
@property(nonatomic,copy)NSString *userId;
@property(nonatomic,copy)NSString *userCode;
@property(nonatomic,copy)NSString *userName;
@property(nonatomic,copy)NSString *userTel;
@property(nonatomic,copy)NSString *reservationDate;
@property(nonatomic,copy)NSString *reservationDateTest;
@property(nonatomic,copy)NSString *productType;
@property(nonatomic,copy)NSString *productTypeTest;
@property(nonatomic,copy)NSString *productKeyCode;
@property(nonatomic,copy)NSString *productKeyName;
@property(nonatomic,copy)NSString *assetsCode;
@property(nonatomic,copy)NSString *assetsName;
@property(nonatomic,copy)NSString *payCategory;
@property(nonatomic,copy)NSString *payCategoryTest;
@property(nonatomic,copy)NSString *reservationState;
@property(nonatomic,copy)NSString *reservationStateTest;
@property(nonatomic,copy)NSString *reservationResultStatus;
@property(nonatomic,copy)NSString *reservationResultStatusTest;
@property(nonatomic,copy)NSString *dealTime;
@property(nonatomic,copy)NSString *dealTimeTest;
@property(nonatomic,copy)NSString *invalidTime;
@property(nonatomic,copy)NSString *invalidTimeTest;
@property(nonatomic,copy)NSString *reservationAmount;
@property(nonatomic,copy)NSString *reservationResidueAmount;
@property(nonatomic,copy)NSString *reservationMemberCount;
@property(nonatomic,copy)NSString *appointId;
@end

@interface LKCustomerDetailAttachModel:LKBaseModel
@property(nonatomic,copy)NSString *attachName;
@property(nonatomic,copy)NSString *attachUrl;
@property(nonatomic,copy)NSString *bankName;
@property(nonatomic,copy)NSString *customerId;
@property(nonatomic,copy)NSString *suffix;
@property(nonatomic,copy)NSString *Id;

@end


@interface LKBankModel:LKBaseModel

@property(nonatomic,copy)NSString *bankName;
@property(nonatomic,copy)NSString *bankBranch;
@property(nonatomic,copy)NSString *bankCity;
@property(nonatomic,copy)NSString *accountName;
@property(nonatomic,copy)NSString *accountCode;
/**
 银行卡正面照信息
 */
@property(nonatomic,copy)NSString *accountPhotoUrl;

/**
 银行卡正面照片
 */
@property(nonatomic,copy)UIImage *accountPhoto;

@property(nonatomic,copy)NSString *Id;

@property(nonatomic,assign)BOOL canEdit;

/**
 银行卡预留手机号
 */
@property(nonatomic,copy)NSString *bankCardTel;

/**
 是否经过第三方平台认证  添加为false
 */
@property(nonatomic,copy)NSString *isAuthenticated;


/**
 证件的id
 */
@property(nonatomic,copy)NSString *identityId;

/**
 证件类型
 */
@property(nonatomic,copy)NSString *identitfyCategory;
/**
 银行卡信息
 */
//@property(nonatomic,copy)NSString *bankCards;
//Model 到字典

- (NSDictionary *)properties_aps;

@end



@interface LKCustomerModel : LKBaseModel


/**
 是否已经认证
 */
@property(nonatomic,copy)NSString *isAuthenticated;

/**
 默认回访手机号
 */
@property(nonatomic,copy)NSString *defaultTel;

/**
 客户的ID
 */
@property(nonatomic,copy)NSString *customerId;
/**
 客户编号
 */
@property(nonatomic,copy)NSString *customerCode;
/**
 姓名
 */
@property(nonatomic,copy)NSString *customerName;

/**
 性别
 */
@property(nonatomic,copy)NSString *customerGender;

/**
 电话
 */
@property(nonatomic,copy)NSString *tel;
/**
 版本信息
 */
@property(nonatomic,copy)NSString *version;

/**
 证件类型
 */
@property(nonatomic,copy)NSString *identitfyCategory;

/**
 证件号码
 */
@property(nonatomic,copy)NSString *identityId;

/**
 身份证正面
 */
@property(nonatomic,copy)NSString *identitfyPhotoUrl;

/**
 身份证正面图片
 */
@property(nonatomic,strong)UIImage *identitfyPhoto;

/**
 身份证背面
 */
@property(nonatomic,copy)NSString *identitfyBackPhotoUrl;
/**
 身份证背面图片
 */
@property(nonatomic,strong)UIImage *identitfyBackPhoto;

/**
 电子邮箱
 */
@property(nonatomic,copy)NSString *email;

/**
 来源
 */
@property(nonatomic,copy)NSString *source;

/**
 城市
 */
@property(nonatomic,copy)NSString *city;

/**
 地址
 */
@property(nonatomic,copy)NSString *address;



/**
 所属人
 */
@property(nonatomic,copy)NSString *owner;

/**
 紧急联系人名字
 */
@property(nonatomic,copy)NSString *emergenceyName;

/**
 紧急联系人电话
 */
@property(nonatomic,copy)NSString *emergenceyTel;

/**
 紧急联系人关系
 */
@property(nonatomic,copy)NSString *emergenceyRealtion;

/**
 客户类型
 */
@property(nonatomic,copy)NSString *custormerCategory;

/**
 积分
 */
@property(nonatomic,copy)NSString *pointQuota;

/**
 会员等级
 */
@property(nonatomic,copy)NSString *customerLevelName;




/**
 审批状态
 */
@property(nonatomic,copy)NSString *approvalStatus;

@property(nonatomic,copy)NSString *bankName;
@property(nonatomic,copy)NSString *bankBranch;
@property(nonatomic,copy)NSString *bankCity;
@property(nonatomic,copy)NSString *accountName;
@property(nonatomic,copy)NSString *serialNumber;
@property(nonatomic,copy)NSString *accountCode;
@property(nonatomic,copy)NSString *changgeOwner;

/**
 银行卡正面照信息
 */
@property(nonatomic,copy)NSString *accountPhotoUrl;

/**
 银行卡正面照片
 */
@property(nonatomic,copy)UIImage *accountPhoto;

/**
 附件名称
 */
@property(nonatomic,copy)NSString *attachName;
@property(nonatomic,copy)NSString *suffix;
@property(nonatomic,copy)NSString *attachUrl;

///**
// 银行卡信息
// */
//@property(nonatomic,copy)NSString *bankCards;

/**
 附件信息
 */
@property(nonatomic,strong)NSArray <LKCustomerDetailAttachModel *>*customerAttach;

/**
 附件照片
 */
@property(nonatomic,strong)UIImage *attachImage;

/**
 客户的编辑条件
 */
@property(nonatomic,copy)NSString *changeEdit;

@property(nonatomic,strong)NSArray <LKBankModel *>* bankCards;

@property(nonatomic,strong)NSArray *cusButtonType;
@end
